Clinical decision support system (CDSS) for ventilator weaning